<template>
  <div class="navbar">
    <div class="navBar_left"><slot name="left"></slot></div>
    <div class="navBar_center"><slot name="center"></slot></div>
    <div class="navBar_right"><slot name="right"></slot></div>
  </div>
</template>

<script>
  export default {
    name: "NavBar"
  }
</script>

<style scoped>
  .navbar{
    width: 100%;
    height: 44px;
    position: fixed;
    display: flex;
    text-align: center;

  }
  .navBar_left,.navBar_right{
    width: 15%;
  }
  .navBar_center{
    flex: 1;
    line-height: 44px;
  }
</style>